package com.lili.core.jdbc.datasource;

import javax.sql.DataSource;

public interface IDataSourceLocator {
    /**
     * Returns DataSource by definition.
     *
     * @param definition The definition of data source
     * @return DataSource
     */
    DataSource getDataSource(DataSourceEnum definition);
}
